package org.lx.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.lx.nursing.domain.NursingProject;
import org.lx.nursing.vo.NursingProjectVo;

import java.util.List;

@Mapper
public interface NursingProjectMapper extends BaseMapper<NursingProject> {
    NursingProject selectNursingProjectById(Long id);

    List<NursingProject> selectNursingProjectList(NursingProject nursingProject);

    int insertNursingProject(NursingProject nursingProject);

    int updateNursingProject(NursingProject nursingProject);

    int deleteNursingProjectById(Long id);

    int deleteNursingProjectByIds(Long[] ids);

    List<NursingProjectVo> getAllProjects();
}
